PROJECT = awesomesauce
BUILD_DIR = bin

SHARED_DIR_ROOT = ../bsp_stm32f1


SHARED_DIR += $(SHARED_DIR_ROOT)
SHARED_DIR += $(SHARED_DIR_ROOT)/led
SHARED_DIR += $(SHARED_DIR_ROOT)/baiduiot
SHARED_DIR += $(SHARED_DIR_ROOT)/common
SHARED_DIR += $(SHARED_DIR_ROOT)/printf
SHARED_DIR += $(SHARED_DIR_ROOT)/sht20

CFILES = main_baiduiot.c
CFILES += driver_face.c
CFILES += baiduiot.c
CFILES += esp8266.c
CFILES += mqtt_client.c
CFILES += common.c
CFILES += led_breath.c
CFILES += breath_table.c
CFILES += printf.c
CFILES += iic.c
CFILES += sht20.c


# TODO - you will need to edit these two lines!
DEVICE=stm32f103rbt6
OOCD_FILE = board/stm32f4discovery.cfg

# You shouldn't have to edit anything below here.
VPATH += $(SHARED_DIR)
INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
OPENCM3_DIR=../libopencm3



include $(OPENCM3_DIR)/mk/genlink-config.mk
include ../rules.mk
include $(OPENCM3_DIR)/mk/genlink-rules.mk
